import threading
import time

def target(second):
    print(f"Threading {threading.current_thread().name} is running")
    print(f"Threading {threading.current_thread().name} sleep {second}s")
    time.sleep(second)
    print(f"Threading {threading.current_thread().name} is ended")


print(f"Threading {threading.current_thread().name} is running")
for i in [1, 5]:
    t = threading.Thread(target=target, args=[i])
    t.start()
print(f"Threading {threading.current_thread().name} is ended")